package com.wander.business.book.c2_2_5;

import org.springframework.context.ApplicationEvent;

/**
 * @author Wander.Zeng
 * @create 2017-10-22 15:09
 * @desc DemoEvent
 */
public class DemoEvent extends ApplicationEvent {

    private String msg;

    public DemoEvent(Object source, String msg) {
        super(source);
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
